package models.common;

import play.db.jpa.Model;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import java.util.Date;

/**
 * Created by sunqw on 3/9 0009.
 * 创建信息记录
 */
@MappedSuperclass
public class CreateInfo extends Model {
    /**
     * 创建人
     */
    public  String createUser;

    /**
     * 创建时间
     */
    @Temporal(TemporalType.TIMESTAMP)
    @Column(name="create_date")
    public Date createDate;
}
